"""
注册的普通方法实现
"""
import requests

session = requests.Session()
resp=session.post(url="https://hmshop-test.itheima.net/Home/User/reg.html",
             data={
                 "auth_code":"TPSHOP",
                 "scene":1,
                 "username":"13500001111",
                 "verify_code":"8888",
                 "password":"111222",
                 "password2":"111222",
                 "invite":None
             })
print(resp.text)